<%--
  Created by IntelliJ IDEA.
  User: c
  Date: 2017-11-29
  Time: 8:55
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>医疗用品入库记录</title>
    <%@include file="/WEB-INF/jsp/header.jsp"%>
</head>
<style>
    table td{
        font: 14px 'microsoft yahei', 微软雅黑, Helvetica, Arial, Tahoma, 黑体, 宋体, sans-serif;
    }
</style>
<body>
<div class="container-fluid">
    <div class="panel panel-default">
        <div class="panel-heading">
            <span class="h3">搜索</span>
            <a href=".panel-body" class="caret pull-right" data-toggle="collapse"></a>
        </div>
        <div class="panel-body collapse in fade">
            <form id="con" class="pull-left form-inline">
                <label>入库编号：</label>
                <input class="form-control" type="text" name="dsNum" oninput="search()" placeholder="请输入入库编号" value="${param.dsNum}">
                &nbsp;&nbsp;&nbsp;
                <label>验收人员：</label>
                <div class="form-group">
                    <input class="form-control" type="text" name="woName" oninput="search()" placeholder="请输入验收人员姓名" value="${param.woName}">
                </div>
                &nbsp;&nbsp;<br/><br/>
                <label>入库日期：</label>
                <input type="text" class="form-control" name="ruStartDate"/>-
                <input type="text" class="form-control" name="ruEndDate"/>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <button type="button" onclick="search()" class="layui-btn layui-btn-small">
                    <i class="layui-icon"></i> 搜索
                </button>
            </form>
        </div>
    </div>
    <table id="ruTable"
           data-pagination-pre-text="上一页"
           data-pagination-next-text="下一页"
           data-click-to-select="true"
           data-toggle="table"
           data-url="${ctx}/drug/searchRu"
           data-striped="true"
           data-toolbar="#toolbar"
           data-toolbar-align="right"
           data-pagination="true"
           data-side-pagination="server"
           data-page-size="10"
    >
        <thead>
        <tr>
            <th data-checkbox="true"></th>
            <th data-field="dsId">序号</th>
            <th data-field="dsNum">入库编号</th>
            <th data-field="planDate">入库时间</th>
            <th data-field="worker.woName">验收人员</th>
            <th data-field="planNum" data-formatter="initplanNum" data-events="optEvents">入库采购编号</th>
            <th data-field="provider.proName">药品供货商</th>
            <th data-field="dsRemark">备注</th>
            <th data-formatter="caozuo" data-events="optEvents">操作</th>
        </tr>
        </thead>
    </table>
</div>
    <%@include file="/WEB-INF/jsp/footer.jsp"%>
    <script src="${ctx}/res/js/drug_addlog.js"></script>
</body>
</html>
